﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace fcwms.Model
{
   /// <summary>
	/// 入库信息表
	/// </summary>
	[Serializable]
	public partial class dt_ruku
	{
		public dt_ruku()
		{}
		#region Model
        private int _id;
		private string _decla_id;
        private int? _ruku_status = 0;
        private DateTime? _ruku_time = DateTime.Now;
        private string _ruku_way;
        private string _ruku_storage = "";
		private string _customs_broker;
		private string _unstuffing_group;
		private string _tallyman;
		private string _customer;
		private string _customs_officer;
        private string _transactor;
		private string _remark;
		/// <summary>
		/// 自增id
		/// </summary>
        public int id
        {
            set { _id = value; }
            get { return _id; }
        }
		/// <summary>
		/// 报关单号
		/// </summary>
		public string decla_id
		{
			set{ _decla_id=value;}
			get{return _decla_id;}
		}
        /// <summary>
        /// 入库状态 0:正在入库 1:完成入库
        /// </summary>
        public int? ruku_status
        {
            set { _ruku_status = value; }
            get { return _ruku_status; }
        }
        /// <summary>
        /// 入库时间
        /// </summary>
        public DateTime? ruku_time
        {
            set { _ruku_time = value; }
            get { return _ruku_time; }
        }
        /// <summary>
        /// 入库方式
        /// </summary>
        public string ruku_way
        {
            set { _ruku_way = value; }
            get { return _ruku_way; }
        }
        /// <summary>
        /// 入库仓库
        /// </summary>
        public string ruku_storage
        {
            set { _ruku_storage = value; }
            get { return _ruku_storage; }
        }
		/// <summary>
		/// 报关行
		/// </summary>
		public string customs_broker
		{
			set{ _customs_broker=value;}
			get{return _customs_broker;}
		}
		/// <summary>
		/// 掏箱组
		/// </summary>
		public string unstuffing_group
		{
			set{ _unstuffing_group=value;}
			get{return _unstuffing_group;}
		}
		/// <summary>
		/// 理货员
		/// </summary>
		public string tallyman
		{
			set{ _tallyman=value;}
			get{return _tallyman;}
		}
		/// <summary>
		/// 客户
		/// </summary>
		public string customer
		{
			set{ _customer=value;}
			get{return _customer;}
		}
		/// <summary>
		/// 海关关员
		/// </summary>
		public string customs_officer
		{
			set{ _customs_officer=value;}
			get{return _customs_officer;}
		}
        /// <summary>
        /// 经办人
        /// </summary>
        public string transactor
        {
            set { _transactor = value; }
            get { return _transactor; }
        }
		/// <summary>
		/// 备注
		/// </summary>
		public string remark
		{
			set{ _remark=value;}
			get{return _remark;}
		}
		#endregion Model

        private List<dt_goods> _dt_goodss;
        /// <summary>
        /// 物品信息
        /// </summary>
        public List<dt_goods> dt_goodss
        {
            set { _dt_goodss = value; }
            get { return _dt_goodss; }
        }

        private List<dt_location> _dt_locations;
        /// <summary>
        /// 库位信息
        /// </summary>
        public List<dt_location> dt_locations
        {
            set { _dt_locations = value; }
            get { return _dt_locations; }
        }
	}
}
